import buildingApi from '@/config/server/api/building.js'
import dt from '@dt/dt'
//获取指定案场所有地块
function platelist(params) {
  return buildingApi.modeling.platelist.fetch(params)
}
//新增/编辑地块
function plateSaveOrEdit(params) {
  return buildingApi.modeling.plateSaveOrEdit.fetch(params)
}
//删除地块
function plateDel(params) {
  return buildingApi.modeling.plateDel.fetch(params)
}
//新增/编辑产品
function productSaveOrEdit(params) {
  return buildingApi.modeling.productSaveOrEdit.fetch(params)
}
//删除产品 
function productDel(params) {
  return buildingApi.modeling.productDel.fetch(params)
}
export default {
  platelist,
  plateSaveOrEdit,
  plateDel,
  productDel,
  productSaveOrEdit,
}